﻿
namespace DAPNet
{
    class NonBaseDetector : IClickDetector
    {
        public ClickDetection Detect(SampleCollection samples)
        {
            ClickDetection detection = new ClickDetection(samples.Count);
            for (int i = 0; i < samples.Count; i++)
            {
                double value = samples[i].Value;
                detection[i] = (value != 0);            
            }
            return detection;
        }
    }
}
